package com.health.db.mapper;

import com.health.db.model.ZAdviceList;
import com.health.db.model.ZAdviceListExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ZAdviceListMapper {
    int countByExample(ZAdviceListExample example);

    int deleteByExample(ZAdviceListExample example);

    int deleteByPrimaryKey(Long recid);

    int insert(ZAdviceList record);

    int insertSelective(ZAdviceList record);

    List<ZAdviceList> selectByExample(ZAdviceListExample example);

    ZAdviceList selectByPrimaryKey(Long recid);

    int updateByExampleSelective(@Param("record") ZAdviceList record, @Param("example") ZAdviceListExample example);

    int updateByExample(@Param("record") ZAdviceList record, @Param("example") ZAdviceListExample example);

    int updateByPrimaryKeySelective(ZAdviceList record);

    int updateByPrimaryKey(ZAdviceList record);
    List<ZAdviceList> selectSimpleForInit();
}